import { baseRequest } from "@/utils/request";

const request = (url, ...arg) => baseRequest(`/api/workReporter/${url}`, ...arg)

export default {
    addWorkReporter(data) {
        return request('AddWorkReporterAsync', data)
    },
    rangeDelWprlReporter(data) {
        return request('DelRangeWorkReporterAsync', data)
    },
    updateWorkReporter(data) {
        return request('UpdateWorkReporterAsync', data)
    },
    queryWorkReporter(data) {
        return request('QueryWorkReporterAsync', data, 'get')
    }
}